package com.spring;

public class SpringBean1 {

    private SpringBean2 springBean2;

    public void dotestSpringBean() {
        System.out.println(111);
        springBean2.dotestIn2();
    }

    public SpringBean2 getSpringBean2() {
        return springBean2;
    }

    public void setSpringBean2(SpringBean2 springBean2) {
        this.springBean2 = springBean2;
    }

}
